#!/usr/bin/env bash
require_cmd npm

export NPM_CONFIG_FUND=false

mise use node
assert "mise x npm:prettier@3.1.0 -- prettier -v" "3.1.0"
assert "FORCE_COLOR=0 mise x npm:@antfu/ni@0.21.12 -- ni -v 2>/dev/null | head -n1" "@antfu/ni  v0.21.12"
assert_succeed "mise install npm:tldr@3.4.0"
